package com.worldsensing.chartutils.wrapper;

import com.google.gwt.core.client.JavaScriptObject;
/**
 * stores connection related properties and handles javascriptobject connection from iccube. 
 * @author xvilajosana
 *
 */
public class CubeConnection {

	private JavaScriptObject connection;
	
	
	private String url;
	private String user;
	private String pwd;
	private String schema;

	
	public CubeConnection(String url, String user, String pwd, String schema) {
		super();
		this.url = url;
		this.user = user;
		this.pwd = pwd;
		this.schema = schema;
	}

	
	public JavaScriptObject getConnection() {
		return connection;
	}

	public void setConnection(JavaScriptObject connection) {
		this.connection = connection;
	}


	public String getUrl() {
		return url;
	}


	public void setUrl(String url) {
		this.url = url;
	}


	public String getUser() {
		return user;
	}


	public void setUser(String user) {
		this.user = user;
	}


	public String getPwd() {
		return pwd;
	}


	public void setPwd(String pwd) {
		this.pwd = pwd;
	}


	public String getSchema() {
		return schema;
	}


	public void setSchema(String schema) {
		this.schema = schema;
	}
	
	
	
}
